package com.nfit.service.impl.categories;

import com.nfit.dao.CategoriesMapper;
import com.nfit.entity.Categories;
import com.nfit.entity.Currencies;
import com.nfit.service.CategoriesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class CategoriesServiceImpl implements CategoriesService {
    @Autowired
    private CategoriesMapper dao;

    @Override
    public List<Categories> getCategories() {
        return dao.getCategories();
    }
}
